<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Title</title>
	<script src="jquery.min.js"></script>
</head>
<body>
	<div style="width: 300px; height: 300px; border: 1px red solid">
		itcast
	</div>

<script>
// 获取css 样式
// 	var  w = $('div').css('width');
//  alert(w);


	// 设置css样式
	$('div').css('background','green');


	// 设置多个css样式属性值
	$('div').css({
		width:100,
		height:100,
		background:'pink'

	});

</script>

</body>
</html>